import { RENEW } from '@/redux/constant';

const initState = [];
export default function renewPosition_reducer(preState = initState, action) {
  const { type, data } = action;
  switch (type) {
    case RENEW:
      return data;
    default:
      return preState;
  }
}
